﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class Settings
    {
        public int SettingsId { get; set; }//工艺规范号
        public string SettingsName { get; set; }
        public string FastenerId { get; set; }//紧固件编号,数据库外键
        public int LayerStackId { get; set; }//板材组合编号,数据库外键
        public int MultistageId { get; set; }//多段铆接编号
        public float TargetPos1 { get; set; }
        public float TargetPos2 { get; set; }
        public float TargetPos3 { get; set; }
        public float TargetPos4 { get; set; }
        public float TargetPos5 { get; set; }
        public float TargetVelo1 { get; set; }
        public float TargetVelo2 { get; set; }
        public float TargetVelo3 { get; set; }
        public float TargetVelo4 { get; set; }
        public float TargetVelo5 { get; set; }
        public float RotationalSpeed1 { get; set; }
        public float RotationalSpeed2 { get; set; }
        public float RotationalSpeed3 { get; set; }
        public float RotationalSpeed4 { get; set; }
        public float RotationalSpeed5 { get; set; }
        public float Bias1 { get; set; }
        public float TargetDownforce1 { get; set; }
        public float TargetTorque1 { get; set; }
        public float T1 { get; set; }//保压时间设置为float格式,程序内转换
        public float FeedVelo1 { get; set; }
        public float FeedVelo2 { get; set; }
        public int EidtId { get; set; }//update数据表需要更新的Id号


        public int MaxFeedingTime { get; set; }
        public int MaxPrePressingTime { get; set; }
        public int MaxRivetingTime { get; set; }
        public float UPLimitPos { get; set; }
        public float StopTorque { get; set; }
        public float Constant_Downforce1 { get; set; }
        public int PressTime { get; set; }
        public float TargetVelo6 { get; set; }
        public float TargetPos6 { get; set; }
        public float FeedPos1 { get; set; }

        public float FSR_FeedPos1 { get; set; }

        public float FSR_ContactPos1 { get; set; }
        public float UpperPos1 { get; set; }
        public float LowerPos1 { get; set; }
        public float StopPressure1 { get; set; }
        public float Pre_Downforce1 { get; set; }
        public float PrePressureSetValue { get; set; }
        public string FastenerName { get; set; }

        public string Para_D { get; set; }
        public string Para_P { get; set; }
        public string Para_H { get; set; }
        public string Para_L { get; set; }
        public string LayerStackName { get; set; }

        public string Material1 { get; set; }
        public string Thickness1 { get; set; }
        public string Material2 { get; set; }
        public string Thickness2 { get; set; }


        public bool PressConfirmed { get; set; }

        public bool StopTorqueConfirmed { get; set; }



        public float PrePressHighPosition { get; set; }
        public float PrePressHighSpeed { get; set; }
        public float PrePressLowPosition { get; set; }
        public float PrePressLowSpeed { get; set; }
        public float PrePressTouchForce { get; set; }
        public float PrePressForce { get; set; }
        public float Rivet1Force { get; set; }
        public float Rivet1ForceP { get; set; }
        public float Rivet1ForceI { get; set; }
        public float Rivet1RotationalSpeed { get; set; }
        public float Rivet1RotationalACCTime { get; set; }
        public float Rivet1RotationalDECTime { get; set; }
        public float Rivet1OKUpPosition { get; set; }
        public float Rivet1OKDownPosition { get; set; }
        public bool Rivet1OKSpeedJudgment { get; set; }
        public float Rivet1OKSpeed { get; set; }
        public bool Rivet1OKPositionVariationJudgment { get; set; }
        public float Rivet1OKPositionVariation { get; set; }
        public float Rivet1OKPositionVariationSamplintTime { get; set; }
        public bool Rivet1OKTorqueJudgment { get; set; }
        public float Rivet1OKTorque { get; set; }
        public bool Rivet1OKPositionJudgment { get; set; }
        public float Rivet1OKPosition { get; set; }
        public float Rivet1OverTime { get; set; }
        public float Rivet1MaxSpeed { get; set; }
        public float Rivet2Force { get; set; }
        public float Rivet2ForceP { get; set; }
        public float Rivet2ForceI { get; set; }
        public float Rivet2RotationalSpeed { get; set; }
        public float Rivet2RotationalACCTime { get; set; }
        public float Rivet2RotationalDECTime { get; set; }
        public float Rivet2OKUpPosition { get; set; }
        public float Rivet2OKDownPosition { get; set; }
        public bool Rivet2OKSpeedJudgment { get; set; }
        public float Rivet2OKSpeed { get; set; }
        public bool Rivet2OKPositionVariationJudgment { get; set; }
        public float Rivet2OKPositionVariation { get; set; }
        public float Rivet2OKPositionVariationSamplintTime { get; set; }
        public bool Rivet2OKTorqueJudgment { get; set; }
        public float Rivet2OKTorque { get; set; }
        public bool Rivet2OKPositionJudgment { get; set; }
        public float Rivet2OKPosition { get; set; }
        public float Rivet2OverTime { get; set; }
        public float Rivet2MaxSpeed { get; set; }
        public float Rivet3Force { get; set; }
        public float Rivet3ForceP { get; set; }
        public float Rivet3ForceI { get; set; }
        public float Rivet3RotationalSpeed { get; set; }
        public float Rivet3RotationalACCTime { get; set; }
        public float Rivet3RotationalDECTime { get; set; }
        public float Rivet3OKUpPosition { get; set; }
        public float Rivet3OKDownPosition { get; set; }
        public bool Rivet3OKSpeedJudgment { get; set; }
        public float Rivet3OKSpeed { get; set; }
        public bool Rivet3OKPositionVariationJudgment { get; set; }
        public float Rivet3OKPositionVariation { get; set; }
        public float Rivet3OKPositionVariationSamplintTime { get; set; }
        public bool Rivet3OKTorqueJudgment { get; set; }
        public float Rivet3OKTorque { get; set; }
        public bool Rivet3OKPositionJudgment { get; set; }
        public float Rivet3OKPosition { get; set; }
        public float Rivet3OverTime { get; set; }
        public float Rivet3MaxSpeed { get; set; }



        public string Comment { get; set; }



















    }
}
